package ClientUI;

import java.awt.Dimension;
import java.util.ArrayList;

import javax.swing.DefaultComboBoxModel;
import javax.swing.JCheckBox;

import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import javax.swing.ScrollPaneConstants;
import javax.swing.WindowConstants;
import javax.swing.JFrame;
import javax.swing.JList;
import javax.swing.ListModel;

/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class NewJPanel extends javax.swing.JPanel {
	private JCheckBox jCheckBox1;
	private JCheckBox jCheckBox2;
	private JCheckBox jCheckBox5;
	private JCheckBox jCheckBox4;
	private JCheckBox jCheckBox3;

	/**
	* Auto-generated main method to display this 
	* JPanel inside a new JFrame.
	*/
	public static void main(String[] args) {
		JFrame frame = new JFrame();
		frame.getContentPane().add(new NewJPanel());
		frame.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
		frame.pack();
		frame.setVisible(true);
	}
	
	public NewJPanel() {
		super();
		initGUI();
	}
	
	private void initGUI() {
		try {
			this.setPreferredSize(new java.awt.Dimension(314, 220));
			this.setLayout(null);
			{
				JPanel panel=new JPanel();
				
				ArrayList<JCheckBox> box=new ArrayList<JCheckBox>();
				JScrollPane scroller=new JScrollPane();
				scroller.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
				scroller.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
			}
			{
				jCheckBox1 = new JCheckBox();
				this.add(jCheckBox1);
				jCheckBox1.setText("Bastketball");
				jCheckBox1.setBounds(23, 17, 82, 21);
			}
			{
				jCheckBox2 = new JCheckBox();
				this.add(jCheckBox2);
				jCheckBox2.setText("football");
				jCheckBox2.setBounds(23, 52, 63, 21);
			}
			{
				jCheckBox3 = new JCheckBox();
				this.add(jCheckBox3);
				jCheckBox3.setText("ping-pong");
				jCheckBox3.setBounds(23, 87, 80, 21);
			}
			{
				jCheckBox4 = new JCheckBox();
				this.add(jCheckBox4);
				jCheckBox4.setText("swim");
				jCheckBox4.setBounds(23, 128, 48, 21);
			}
			
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
